using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Master : System.Web.UI.MasterPage 
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    public bool IsModernBrowser(string Client, string Version)
    {
        bool Result = false;
           
        //Mozilla Firefox
        if (Client == "Firefox")
        {
            Result = true;
        }
        
        //Internet Explorer
        if ((Client == "IE") && (Version == "7.0"))
        {
            Result = true;
        }
        
        //return Request.Browser.Browser;
        return Result;
    }
}
